<?php
namespace Nawa\Survey;
/**
 * Survey Type.
 * 
 * 
 * @property int	$type			Id
 * @property string	$language		Language
 * @property string	$label			Survey Label
 * 
 * @method array i18n()
 */
class Type extends \Fox\Object\Customizing {
	
}
\Fox\Dao::infos(Type::className(),new \Fox\Object\Info('survey_types', \Fox\Databases::DB_APP));

// Link to i18n elements
\Fox\Object\Links::add(\Fox\Dao::link(Type\I18n::className(),Type\I18n::LINK_REFERENCE)
->to(Type::className(), Type::LINK_I18N)
->on('type')
->versionFrom());